ISCModelProperty Interface
The following table contains information on the ISCModelProperty interface:
Signature |
Description |
Valid Arguments |
---|---|---|
VARIANT_BOOL RemoveValue(VARIANT ValueId [optional]) |
Removes the specified value from the property |
ValueId:
|
VARIANT_BOOL RemoveAllValues() |
Remove all values from the property |
None |
Example 24
The following example illustrates how to delete scalar properties using C++ if there is a model object and a transaction is open:
CString propName("Some Property Name"); // … CComVariant bRetVal = scObjPtr->GetProperties()->Remove(COleVariant(propName));
The following example illustrates how to delete scalar properties using Visual Basic .NET if there is a model object and a transaction is open:
Dim propName As String propName = "Some Property Name"
bRetVal = scObj.Properties.Remove(propName)
Copyright © 2025 Quest Software, Inc. |